<body>
<link type="text/css" href="<{$config.weburl}>/templates/wap/new_css/gm_base.css" rel="stylesheet" />
<script type="text/javascript" src="<{$config.weburl}>/templates/wap/js/list/swiper.min.js"></script>
<header>
    <div class="header_top sys_header">
        <div class="st_back"><a href="javascript:;" onclick="javascript:history.go(-1);"></a></div>
        <h1 class="tit">资讯</h1>
        <{include file="detail_header.htm"}>
    </div>
</header>
  
 <!-- 分类 start -->
    <input type="hidden" name="attrid" id="attrid" value="1" />
    <div class="m-class ">
      <div class="swiper-container lst swiper-container-horizontal swiper-container-free-mode">
        <div class="swiper-wrapper" id="swiper-wrapper">
            <a class="itm swiper-slide <{if $catid == 0 }> swiper-slide-active on <{/if}>" href="<{$config.weburl}>/?m=news&s=list" >全部</a>
            <{foreach item=vo key=key from=$cat_list}>
            <a class="itm swiper-slide <{if $catid == $vo.catid }> swiper-slide-active on <{/if}> " href="<{$config.weburl}>/?m=news&s=list&cat_id=<{$vo.catid}>" ><{$vo.cat}></a>
            <{/foreach}>
        </div>
      </div>
    </div>
    <!-- 分类 end -->
  
<div class="m-main">
<section class="main-xl">
<div class="change-type">
        <div class="fex">
         <!--list开始-->
            <{foreach item=item key=key from=$prolist.list}>
          <div class="pdt_list">
            <a href="<{$config.weburl}>/?m=news&s=detail&id=<{$item.nid}>">
              <div class="pdt_img"><img src="<{$item.titlepic}>"  width="110" height="148"></div>
              <div class="pdt_txt">
                <div class="pdt_box">
                  <p class="p_tit">
                  <em><{$item.title}></em>
                    <span>​<{$item.smalltext|truncate:40:'...'}></span>
                    <span><{$item.uptime|date_format:"%Y-%m-%d"}></span>
                  </p>
                </div>
              </div>
            </a>
          </div>
            <{/foreach}>
            <!--list结束-->
</div>
    <div cla="page">
        <{$prolist.page}>
    </div>
</div>
</section>
</div>
<script>
    var swiper = new Swiper('.swiper-container', {
        pagination: '.swiper-pagination',
        slidesPerView: 'auto',
        paginationClickable: true,
        spaceBetween: 30
    });
</script>
  
